const mysql=require('mysql');

let db=mysql.createPool({host:'localhost',user:'root',database:'20180326'});

db.query('SELECT * FROM user_table',(err,data)=>{
    console.log(json)
})